package cn.tedu.spring.resource;

import cn.tedu.spring.eg2.Mapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

//@Component
public class ResMapperImpl2 implements ResMapper {
    @Value("我是第二个mapper")
    private String name;

    @Override
    public String toString() {
        return "ResMapperImpl2{" +
                "name='" + name + '\'' +
                '}';
    }
}
